package com.ruoyi.recycle.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 积分商品评价对象 integral_commodity_evaluate
 *
 * @author Wubk
 * @date 2022-05-22
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class IntegralCommodityEvaluateDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(name = "id", value = "积分商品评价id", dataType = "Long")
    private Long id;

    /**
     * 用户ID
     */
    @ApiModelProperty(name = "clientId", value = "用户ID", dataType = "Long")
    private Long clientId;

    /**
     * 用户名称
     */
    @ApiModelProperty(name = "clientName", value = "用户名称", dataType = "String")
    private String clientName;

    /**
     * 用户名称
     */
    @ApiModelProperty(name = "clientName", value = "用户名称", dataType = "String")
    private String commodityName;

    /**
     * 评分
     */
    @ApiModelProperty(name = "grade", value = "评分", dataType = "String")
    private String grade;

    /**
     * 详情
     */
    @ApiModelProperty(name = "details", value = "详情", dataType = "String")
    private String details;

    /**
     * 商品ID
     */
    @ApiModelProperty(name = "commodityId", value = "商品ID", dataType = "Long")
    private Long commodityId;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "createdBy", value = "创建人", dataType = "String")
    private String createdBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "searchTimeBegin", value = "起始搜索时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date searchTimeBegin;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "searchTimeEnd", value = "结束搜索时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date searchTimeEnd;

    /**
     * 更新人
     */
    @ApiModelProperty(name = "updatedBy", value = "更新人", dataType = "String")
    private String updatedBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "updatedTime", value = "更新时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date updatedTime;

    @ApiModelProperty(name = "currentPage", value = "当前页", dataType = "INT", notes = "默认值1")
    private Integer currentPage = 1;

    @ApiModelProperty(name = "pageSize", value = "页码", dataType = "INT", notes = "默认值10")
    private Integer pageSize = 10;
}
